﻿@model TbShop.Web.Areas.Admin.Models.ManageUserViewModel
@{
    ViewBag.Title = "修改密码";
    ViewBag.ModuleId = "administrator-manage";
}

<div class="box box-primary">
    @using (Html.BeginForm("ChangePassword", "Administrator", FormMethod.Post, new { }))
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary()
        <div class="box-body">
            <div class="form-group">
                <label for="OldPassword"><strong class="notes">*</strong>旧密码</label>
                @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
            </div>
            <div class="form-group">
                <label for="NewPassword"><strong class="notes">*</strong>新密码</label>
                @Html.PasswordFor(model => model.NewPassword, new { @class = "form-control" })
            </div>
            <div class="form-group">
                <label form="ConfirmPassword"><strong class="notes">*</strong>确认密码</label>
                @Html.PasswordFor(model => model.ConfirmPassword, new { @class = "form-control" })
            </div>
            <div class="box-footer">
                <button type="submit" class="btn btn-primary">修改密码</button>
            </div>
        </div>
    }
</div>
